package com.example.ytyproject.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="分页对象vo", description="")
@Accessors(chain = true)
public class PageInfoVo  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    @ApiModelProperty(value = "起始页")
    private Integer pageNo = 1;

    @TableField(exist = false)
    @ApiModelProperty(value = "每页显示条数")
    private Integer pageSize = 10;
}
